package com.hck.weight_test.ObtainWeighing.interfaces;

// 设备连接，对设备进行读写
public interface IDevice {
    public boolean open();

    public boolean close();

    public int read(byte[] buffer);

    public void write(byte[] buffer);
}